package com.xfc.school.service.impl;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xfc.school.domain.vo.CourserListVO;
import com.xfc.school.domain.vo.ScStudentCourseVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.xfc.school.mapper.ScStudentMapper;
import com.xfc.school.domain.ScStudent;
import com.xfc.school.service.IScStudentService;
import java.util.List;

/**
 * 学生信息Service业务层处理
 * 
 * @author lcj
 * @date 2021-12-05
 */
@Service
public class ScStudentServiceImpl extends ServiceImpl<ScStudentMapper, ScStudent> implements IScStudentService{


    @Autowired
    private ScStudentMapper scStudentMapper;

    @Override
    public IPage<ScStudentCourseVO> getStudentCourse(Page page, List<String> list,int type) {
        return scStudentMapper.getStudentCourse(page,list,type);
    }

    @Override
    public List<CourserListVO> getHomeCourseList(List<String> stuList, String startTime, String endTime) {
        return scStudentMapper.getHomeCourseList(stuList,startTime,endTime);
    }
}
